package com.university.logistic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 食堂以及营业时间
 * </p>
 *
 * @author why
 * @since 2025年07月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("canteen")
public class Canteen implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 食堂名字
     */
    @TableField("hall_name")
    private String hallName;

    /**
     * 食堂开始营业时间
     */
    @TableField("hall_start")
    private LocalTime hallStart;

    /**
     * 结束营业时间
     */
    @TableField("hall_end")
    private LocalTime hallEnd;


}
